
class Deck {
    constructor() {
        this.allCards = [];
    }

    initCards() {
        //初始化牌组
        this.allCards = [];
        for( let i = 1; i <= 13; i ++ ){
            for( let j = 1; j <= 4; j ++ ) {
                this.allCards.push("" + i + j);
            }
        }
    }

    getAllCards() {
        return this.allCards;
    }
}

exports.Deck = Deck;